package com.gaeainfo.modules.alarm.collection.service;

import com.gaeainfo.modules.alarm.collection.dto.PersonDto;
import com.gaeainfo.modules.alarm.collection.dto.VehicleDto;

import java.util.List;

/**
 * Created by Caven on 2018/7/13.
 */
public interface AlarmCollectionService {

    PersonDto getPersonInfo(String idCard, String phone) throws Exception;

    String saveAlarmPerson(String alarmId, String personId, String personType) throws Exception;

    List<PersonDto> getAlarmPerson(String alarmId) throws Exception;

    String deleteAlarmPerson(String alarmId, String personId) throws Exception;

    VehicleDto getVehicleInfo(String plateNo) throws Exception;

    String saveAlarmVehicle(String alarmId, String vehicleId) throws Exception;

    List<VehicleDto> getAlarmVehicle(String alarmId) throws Exception;

    String deleteAlarmVehicle(String alarmId, String vehicleId) throws Exception;


}
